package com.sky.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.EmployeeDTO;
import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.PageDTO;
import com.sky.dto.PasswordEditDTO;
import com.sky.entity.Employee;
import com.sky.query.EmployeeQuery;
import com.sky.result.Result;

/**
* @author 马毅爽
* @description 针对表【employee(员工信息)】的数据库操作Service
* @createDate 2023-11-02 22:38:46
*/
public interface EmployeeService extends IService<Employee> {

    Employee login(EmployeeLoginDTO employeeLoginDTO);

    void save(EmployeeDTO employeeDTO);

    PageDTO<Employee> queryPage(EmployeeQuery employeeQuery);

    void updateStatus(Integer status, Long id);

    Employee queryById(Long id);

    void updateInfo(EmployeeDTO employeeDTO);

    void updatePassword(PasswordEditDTO passwordEditDTO);
}
